package com.wsm.common.domain;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;

import java.io.Serializable;
import java.util.Date;

/**
 * 系统模板
 *
 * @author wangshimin
 * @email wangshiminhome@foxmail.com
 * @date 2020-02-20 10:21:26
 * @description : 系统模板
 */
@Data
@Builder
@ToString
@NoArgsConstructor
@AllArgsConstructor
@TableName("sys_model")
public class ModelDO implements Serializable {
	private static final long serialVersionUID = 1L;
	
	//表id
	@TableId
	private Long id;
	//创建人id
	@TableField(fill = FieldFill.INSERT)
	private Long gmtCreateId;
	//创建时间
	@TableField(fill = FieldFill.INSERT)
	private Date gmtCreate;
	//更新人id
	@TableField(fill = FieldFill.UPDATE)
	private Long gmtModifiedId;
	//更新时间
	@TableField(fill = FieldFill.UPDATE)
	private Date gmtModified;
	//状态   1-有效，0-无效
	@TableField(fill = FieldFill.INSERT)
	private Integer useFlag;
	//删除   1-未删除，0-删除
	@TableField(fill = FieldFill.INSERT)
	private Integer delFlag;

}
